package com.wootion.cims.module.systemsetting.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * (SysInformation)实体类
 *
 * @author makejava
 * @since 2022-11-23 11:16:34
 */
@Data
@TableName(value = "sys_information")
@Accessors(chain = true)
public class SysInformation implements Serializable {
    private static final long serialVersionUID = -19095203333342426L;
    /**
     * 主键/系统信息表
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 系统名称
     */
    private String sysName;
    /**
     * 封面设置/0:默认  1:自定义
     */
    private Boolean coverSetting;
    /**
     * 图片尺寸
     */
    private String pictureSize;
    /**
     * 图片
     */
    private byte[] image;
    /**
     * 老年龄人年龄
     */
    private Integer oldAge;
    /**
     * 图片路径
     */
    private String path;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 创建人id
     */
    private String createUserid;
    /**
     * 更新人id
     */
    private String updateUserid;
    /**
     * 默认激活标识/ 0:未激活 1:激活
     */
    private Boolean activation;


    @TableField(exist = false)
    private String passwordUpper;
    @TableField(exist = false)
    private String passwordLower;
    @TableField(exist = false)
    private String characterCombination;
    @TableField(exist = false)
    private String passwordTipsCycle;
    @TableField(exist = false)
    private String passwordTipsType;
    @TableField(exist = false)
    private String fewMinutes;
    @TableField(exist = false)
    private String errorsNumber;
    @TableField(exist = false)
    private String unlockMinutes;

    /**
     * “true” 是自定义
     * “false” 是默认
     */
    @TableField(exist = false)
    private String passwordCycleType;
}

